package com.heqiang.spring.service;

public class TestService {

    private String name;

    public TestService (String name) {
        this.name = name;
    }

    public void getInfo() {
        System.out.println("这是一个测试方法。。。。。"+ name);
    }


    @Override
    public String toString() {
        return "TestService{" +
                "name='" + name + '\'' +
                '}';
    }
}
